package core

import "time"

var (
	// 以下值均从viper中读取
	jwtKey string = C.Jwt.Key         // "secret_hard_to_guess"
	jwtIssuer string = C.Jwt.Issuer   //"github.com/kessil/gintify"
	jwtSubject string = C.Jwt.Subject //"user token"
	expireDuration time.Duration = time.Minute * C.Jwt.Duration
)

//func NewJwt() {
//	jwtKey = C.Jwt.Key         // "secret_hard_to_guess"
//	jwtIssuer = C.Jwt.Issuer   //"github.com/kessil/gintify"
//	jwtSubject = C.Jwt.Subject //"user token"
//	expireDuration = time.Minute * C.Jwt.Duration
//}


